package com.joven.shelltest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 文章
 * </p>
 *
 * @author joven
 * @since 2024-11-08
 */
@Data
@TableName("discuss_articles")
public class Articles implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String title;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 文章的根评论数
     */
    private Integer rootCommentCount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    private Integer isDelete;


}
